package com.jyw.system.domain;

import lombok.experimental.FieldNameConstants;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jyw.common.annotation.Excel;
import com.jyw.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * 用户与小组关系对象 sys_user_team
 * 
 * @author system
 * @date 2023-08-07
 */
@Data
@TableName("sys_user_team")
@FieldNameConstants
public class SysUserTeam
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 用户主键 */
    @Excel(name = "用户主键")
    private Long userId;

    /** 小组主键 */
    @Excel(name = "小组主键")
    private Long teamId;

    /** 是否组长 */
    @Excel(name = "是否组长")
    private Integer isLeader;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Integer isEnable;

}
